-
Home
-
ElasticPress
-
4.4.0
-
Code
-
Classes
- QueryLogger
Total Complexity |
47 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
383 |
Lines of code |
176 |
Logical lines of code |
91 |
Comment lines |
152 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
update_logs() |
A |
49 |
8 |
30 |
format_log_entry() |
S |
49 |
6 |
28 |
is_bulk_index_error() |
S |
58 |
6 |
14 |
maybe_add_notice() |
S |
53 |
5 |
23 |
get_logs() |
S |
55 |
5 |
19 |
log_query() |
S |
56 |
5 |
17 |
should_log_query_type() |
S |
55 |
2 |
21 |
clear_logs() |
S |
67 |
3 |
8 |
maybe_log_delete_index() |
S |
73 |
3 |
4 |
is_query_error() |
S |
68 |
3 |
7 |
setup() |
S |
71 |
1 |
5 |